package org.jadapter.tests.examples.simple.adapters;

import org.jadapter.tests.examples.simple.api.IX;
import org.jadapter.tests.examples.simple.api.Size;

public class IXSize implements Size {
    
    private IX x;
    
    public IXSize(IX x){ this.x = x; }

    public int size() {
        return x.getX() == null ? 0 : x.getX().length();
    }


}
